code with naval pattern part 6